package com.hncgy.xzf.jdapi.domain.index;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 快捷菜单表
 * </p>
 *
 * @author 不会代码的蜡笔
 * @since 2025-10-31
 */
@Data
@Schema(name = "QuickMenu对象", description = "快捷菜单表")
public class QuickMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description ="主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description ="菜单名称")
    private String name;

    @Schema(description ="菜单图标URL")
    private String iconUrl;

    @Schema(description ="跳转链接")
    private String linkUrl;

    @Schema(description ="排序序号，数字越小越靠前")
    private Integer sortOrder;

    @Schema(description ="状态：active-启用, inactive-停用")
    private String status;

    @Schema(description ="菜单类型：product-商品, category-分类, activity-活动, custom-自定义")
    private String menuType;

    @Schema(description ="背景颜色")
    private String backgroundColor;

    @Schema(description ="菜单描述")
    private String description;

    @Schema(description ="创建时间")
    private LocalDateTime createdTime;

    @Schema(description ="更新时间")
    private LocalDateTime updatedTime;

    @Schema(description ="创建人")
    private String createdBy;

    @Schema(description ="更新人")
    private String updatedBy;
}
